import axios from '../utils/http' // 导入http中创建的axios实例
const base_url = process.env.BASE_API;
console.log(process.env);
const homeApi = {
  getUseInfo(params) {
    return axios.get(`${base_url}/proxy/cam/user/qywx/info`, {params});
  },
  closeSse(uid) {
    return axios.get(`${base_url}/proxy/qywx/sse/closeSse?uid=${uid}`);
  },
  askQuestion(params){
    return axios.post(`${base_url}/proxy/qywx/sse/askQuestion`, params)
  }

}

export default homeApi;
